import { createApp } from 'vue';
// 状态管理库
import pinia from '/@/stores/index';
// App.vue
import App from '/@/App.vue';
// 路由
import router from '/@/router';
// 自定义指令
import { directive } from '/@/directive/index';
// 国际化
import { i18n } from '/@/i18n/index';
// 其他
import other from '/@/utils/other';
// EL Plus
import ElementPlus from 'element-plus';
// 系统style样式
import '/@/theme/index.scss';
// 栅格布局
import VueGridLayout from 'vue-grid-layout';

// 工具
import {isEmpty,tansParams} from '/@/utils/mms';

//VXE
import VXETable from 'vxe-table'
import SvgIcon from '/@/components/svg-icon'
import 'vxe-table/lib/style.css'

// import '/@/icons/iconfont/iconfont'
// import 'element-plus/dist/index.css'
import '/@/styles/myStyle.scss'



// 挂载
const app = createApp(App);

directive(app);
other.elSvg(app);

// 全局挂载
app.config.globalProperties.$ut = {isEmpty,tansParams};

app.use(pinia).use(router).use(SvgIcon).use(ElementPlus).use(VXETable).use(i18n).use(VueGridLayout).mount('#app');

